Anomify API Documentation
Anomify AI Main Site | Anomify Documentation
This copy of our API documentation is no longer updated and may be inaccurate. Please go to http://api-docs.anomify.ai/.

/anomalies

/anomalies

/anomaly

/anomaly/lookup
/anomaly/train
/anomaly/{anomaly_id}

/billing

/billing/checkoutcallback
/billing/getcheckoutsession
/billing/getportalsession
/billing/history

/doc

/doc/openapi

/exclusion

/exclusion/add
/exclusion/delete
/exclusion/list
/exclusion/test
/exclusion/types

/image

/image/anomaly
/image/metric

/js

/js/eventsender

/login

/login

/login DEBUG 100

/login DEBUG 100

/login DEBUG 1069

/login DEBUG 1069

/login DEBUG STAGE

/login DEBUG STAGE

/login

/login/forgotpassword
/login/resetpassword
/login/validateclient

/match

/match/{match_id}
/match/{match_id}/graph
/match/{match_id}/motif/graph

/metric

/metric/{metric_name}
/metric/{metric_name}/anomalies
/metric/{metric_name}/anomalysummary
/metric/{metric_name}/bundle
/metric/{metric_name}/graph
/metric/{metric_name}/patterns
/metric/{metric_name}/timeseries
/metric/{metric_name}/yhat

/metrics

/metrics
/metrics/mostanomalous
/metrics/mostrecentlyanomalous
/metrics/mostrecentlymatched

/misc

/misc/phonecodes
/misc/timesince
/misc/timezones

/org

/org/adminalert/{alert_code}
/org/adminalerts
/org/channels
/org/events
/org/getquotametrics
/org/graph
/org/info
/org/removequotametrics
/org/stripecallback
/org/summary
/org/testmetrics
/org/update
/org/users

/pattern

/pattern/{pattern_id}
/pattern/{pattern_id}/disable
/pattern/{pattern_id}/matches
/pattern/{pattern_id}/timeseries

/patterns

/patterns/pending

/ping

/ping

/signup

/signup/demo
/signup/demo-orgs
/signup/selfserve
/signup/verify

/status

/status

/user

/user/delete
/user/info
/user/logout
/user/ping
/user/reportissue
/user/update
/user/updatepassword

/watcher

/watcher/create
/watcher/{watcher_id}/delete
/watcher/{watcher_id}/undelete
/watcher/{watcher_id}/update

/watchers

/watchers/chips
/watchers/list

Method: /anomaly/{anomaly_id}

Detail

This method is not available to demo user accounts.

Get an anomaly by its id.

Parameters

None. The anomaly id is specified in the URL, e.g.

/anomaly/863617

Example Output

{
    "status": { ... see /login method for status block structure ... },
    "data": {
        "anomaly": {
            "id": 7786,
            "metric_id": 982,
            "metric": "grph_1.cloudinfra.mx-out02.network.eth0.tx_byte",
            "value": 12183.4,
            "timestamp": 1588685340,
            "timestamp_string": "May 5th 2020, 13:29",
            "until_timestamp": 1588685460,
            "score": 0.78,
            "training": {
                "trainable": false,
                "trainable_status": "expired",
                "trainable_until_timestamp": null,
                "30_day_trainable_from_timestamp": null,
                "30_day_trainable_in": null
            },
            "patterns": [],
            "positive": false,
            "expected_range_lower": 0,
            "expected_range_upper": 0,
            "expected_range_lower_string": "0",
            "expected_range_upper_string": "0",
            "pending_patterns": []
        },
        "anomaly_graph_url": "https:\/\/api-stage.anomify.ai\/metric\/grph_1.cloudinfra.mx-out02.network.eth0.tx_byte\/graph?from=1586093340&until=1588685340&display_x_axis=neither&display_y_axis=neither&display_legend=true&display_anomalies=false&display_matches=false&context=anomaly_30_day",
        "pattern_graph_urls": {},
        "matching_watchers": [
            {
                "id": 265,
                "name": "[name redacted]",
                "is_alert": true,
                "is_deleted": false,
                "owner": {
                    "id": 103,
                    "org_id": 101,
                    "name": "[name redacted]",
                    "email": "[email redacted]",
                    "phone_number": "[phone number redacted]",
                    "slack_member_id": "[slack member id redacted]",
                    "demo": false,
                    "admin": true,
                    "org": {
                        "id": 101,
                        "name": "[name redacted]",
                        "timezone": "UTC",
                        "alert_muting": {
                            "muted": false,
                            "muted_until_timestamp": null,
                            "muted_until_timestamp_string": null,
                            "minutes_remaining": null
                        },
                        "onboarding_status_id": 300,
                        "connected_services": {
                            "slack": true,
                            "ms_teams": false
                        }
                    },
                    "notifications": {
                        "email_alerts": true
                    },
                    "onboarding_flags": {
                        "main_intro": true,
                        "alerts_intro": true,
                        "alerts_from_search": true,
                        "training_intro": true,
                        "alert_created": true,
                        "test_alert_sent": true,
                        "two_alerts_sent": true,
                        "pattern_trained": true
                    }
                }
            },
            {
                "id": 209,
                "name": "[name redacted]",
                "is_alert": true,
                "is_deleted": false,
                "owner": {
                    "id": 102,
                    "org_id": 101,
                    "name": "[name redacted]",
                    "email": "[email redacted]",
                    "phone_number": null,
                    "slack_member_id": null,
                    "demo": false,
                    "admin": true,
                    "org": {
                        "id": 101,
                        "name": "[name redacted]",
                        "timezone": "UTC",
                        "alert_muting": {
                            "muted": false,
                            "muted_until_timestamp": null,
                            "muted_until_timestamp_string": null,
                            "minutes_remaining": null
                        },
                        "onboarding_status_id": 300,
                        "connected_services": {
                            "slack": true,
                            "ms_teams": false
                        }
                    },
                    "notifications": {
                        "email_alerts": true
                    },
                    "onboarding_flags": {
                        "main_intro": true,
                        "alerts_intro": true,
                        "alerts_from_search": true,
                        "training_intro": false,
                        "alert_created": true,
                        "test_alert_sent": true,
                        "two_alerts_sent": true,
                        "pattern_trained": true
                    }
                }
            },
            {
                "id": 264,
                "name": "[name redacted]",
                "is_alert": true,
                "is_deleted": false,
                "owner": {
                    "id": 103,
                    "org_id": 101,
                    "name": "[name redacted]",
                    "email": "[email redacted]",
                    "phone_number": "[phone number redacted]",
                    "slack_member_id": "[slack member id redacted]",
                    "demo": false,
                    "admin": true,
                    "org": {
                        "id": 101,
                        "name": "[name redacted]",
                        "timezone": "UTC",
                        "alert_muting": {
                            "muted": false,
                            "muted_until_timestamp": null,
                            "muted_until_timestamp_string": null,
                            "minutes_remaining": null
                        },
                        "onboarding_status_id": 300,
                        "connected_services": {
                            "slack": true,
                            "ms_teams": false
                        }
                    },
                    "notifications": {
                        "email_alerts": true
                    },
                    "onboarding_flags": {
                        "main_intro": true,
                        "alerts_intro": true,
                        "alerts_from_search": true,
                        "training_intro": true,
                        "alert_created": true,
                        "test_alert_sent": true,
                        "two_alerts_sent": true,
                        "pattern_trained": true
                    }
                }
            },
            {
                "id": 221,
                "name": "[name redacted]",
                "is_alert": true,
                "is_deleted": false,
                "owner": {
                    "id": 151,
                    "org_id": 101,
                    "name": "[name redacted]",
                    "email": "[email redacted]",
                    "phone_number": "[phone number redacted]",
                    "slack_member_id": "[slack member id redacted]",
                    "demo": false,
                    "admin": true,
                    "org": {
                        "id": 101,
                        "name": "[name redacted]",
                        "timezone": "UTC",
                        "alert_muting": {
                            "muted": false,
                            "muted_until_timestamp": null,
                            "muted_until_timestamp_string": null,
                            "minutes_remaining": null
                        },
                        "onboarding_status_id": 300,
                        "connected_services": {
                            "slack": true,
                            "ms_teams": false
                        }
                    },
                    "notifications": {
                        "email_alerts": true
                    },
                    "onboarding_flags": {
                        "main_intro": true,
                        "alerts_intro": true,
                        "alerts_from_search": true,
                        "training_intro": true,
                        "alert_created": true,
                        "test_alert_sent": true,
                        "two_alerts_sent": true,
                        "pattern_trained": true
                    }
                }
            },
            {
                "id": 181,
                "name": "[name redacted]",
                "is_alert": true,
                "is_deleted": false,
                "owner": {
                    "id": 102,
                    "org_id": 101,
                    "name": "[name redacted]",
                    "email": "[email redacted]",
                    "phone_number": null,
                    "slack_member_id": null,
                    "demo": false,
                    "admin": true,
                    "org": {
                        "id": 101,
                        "name": "[name redacted]",
                        "timezone": "UTC",
                        "alert_muting": {
                            "muted": false,
                            "muted_until_timestamp": null,
                            "muted_until_timestamp_string": null,
                            "minutes_remaining": null
                        },
                        "onboarding_status_id": 300,
                        "connected_services": {
                            "slack": true,
                            "ms_teams": false
                        }
                    },
                    "notifications": {
                        "email_alerts": true
                    },
                    "onboarding_flags": {
                        "main_intro": true,
                        "alerts_intro": true,
                        "alerts_from_search": true,
                        "training_intro": false,
                        "alert_created": true,
                        "test_alert_sent": true,
                        "two_alerts_sent": true,
                        "pattern_trained": true
                    }
                }
            },
            {
                "id": 268,
                "name": "[name redacted]",
                "is_alert": true,
                "is_deleted": false,
                "owner": {
                    "id": 151,
                    "org_id": 101,
                    "name": "[name redacted]",
                    "email": "[email redacted]",
                    "phone_number": "[phone number redacted]",
                    "slack_member_id": "[slack member id redacted]",
                    "demo": false,
                    "admin": true,
                    "org": {
                        "id": 101,
                        "name": "[name redacted]",
                        "timezone": "UTC",
                        "alert_muting": {
                            "muted": false,
                            "muted_until_timestamp": null,
                            "muted_until_timestamp_string": null,
                            "minutes_remaining": null
                        },
                        "onboarding_status_id": 300,
                        "connected_services": {
                            "slack": true,
                            "ms_teams": false
                        }
                    },
                    "notifications": {
                        "email_alerts": true
                    },
                    "onboarding_flags": {
                        "main_intro": true,
                        "alerts_intro": true,
                        "alerts_from_search": true,
                        "training_intro": true,
                        "alert_created": true,
                        "test_alert_sent": true,
                        "two_alerts_sent": true,
                        "pattern_trained": true
                    }
                }
            }
        ],
        "related": {
            "status": {
                "code": 200,
                "message": "OK"
            },
            "cross_correlations": [
                {
                    "metric": "demo_robustperception_io.prometheus.node_load15",
                    "coefficient": 0.9659,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "demo_robustperception_io.prometheus.node_memory_MemAvailable_bytes",
                    "coefficient": 0.98926,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "demo_robustperception_io.prometheus.node_memory_MemFree_bytes",
                    "coefficient": 0.98926,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "graphite-labs_wikimedia_org.clouddb-services.clouddb1001.cpu.total.system",
                    "coefficient": 0.96596,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "graphite-labs_wikimedia_org.clouddb-services.clouddb1001.memory.Active",
                    "coefficient": 0.9659,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "graphite-labs_wikimedia_org.clouddb-services.clouddb1001.memory.MemFree",
                    "coefficient": 0.97433,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "graphite-labs_wikimedia_org.clouddb-services.clouddb1002.cpu.total.steal",
                    "coefficient": 0.9659,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "graphite-labs_wikimedia_org.clouddb-services.clouddb1002.cpu.total.system",
                    "coefficient": 0.96691,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "graphite-labs_wikimedia_org.clouddb-services.clouddb1002.memory.Cached",
                    "coefficient": 0.9994,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "graphite-labs_wikimedia_org.clouddb-services.clouddb1002.memory.MemFree",
                    "coefficient": 0.96726,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "graphite-labs_wikimedia_org.clouddb-services.clouddb1003.memory.Active",
                    "coefficient": 0.96053,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "graphite-labs_wikimedia_org.clouddb-services.clouddb1004.memory.Active",
                    "coefficient": 0.97776,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "graphite-labs_wikimedia_org.cloudinfra.cloud-cumin-01.memory.Active",
                    "coefficient": 0.9639,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "graphite-labs_wikimedia_org.cloudinfra.cloud-cumin-01.memory.MemAvailable",
                    "coefficient": 0.9659,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "graphite-labs_wikimedia_org.cloudinfra.cloud-cumin-01.memory.MemFree",
                    "coefficient": 0.97485,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "graphite-labs_wikimedia_org.cloudinfra.cloudinfra-db01.loadavg.processes_running",
                    "coefficient": 0.9674,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "grph_1.cloudinfra.cloud-cumin-01.memory.MemFree",
                    "coefficient": 0.96807,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "grph_1.cloudinfra.cloud-cumin-01.tcp.CurrEstab",
                    "coefficient": 0.96668,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "grph_1.cloudinfra.cloud-cumin-02.memory.MemFree",
                    "coefficient": 0.96685,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "grph_1.cloudinfra.cloud-cumin-02.tcp.CurrEstab",
                    "coefficient": 0.96829,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "grph_1.cloudinfra.cloudinfra-db01.cpu.total.user",
                    "coefficient": 0.9659,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "grph_1.cloudinfra.cloudinfra-db01.loadavg.15_normalized",
                    "coefficient": 0.99846,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "grph_1.cloudinfra.cloudinfra-db01.tcp.CurrEstab",
                    "coefficient": 0.9659,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "grph_1.cloudinfra.cloudinfra-db02.cpu.total.user",
                    "coefficient": 0.94378,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "grph_1.cloudinfra.cloudinfra-db02.loadavg.processes_running",
                    "coefficient": 0.99982,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "grph_1.cloudinfra.cloudinfra-db02.network.eth0.tx_byte",
                    "coefficient": 0.9659,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "grph_1.cloudinfra.mx-out01.cpu.total.steal",
                    "coefficient": 0.96702,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "grph_1.cloudinfra.mx-out01.cpu.total.system",
                    "coefficient": 0.96596,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "grph_1.cloudinfra.mx-out01.loadavg.15_normalized",
                    "coefficient": 0.99881,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "grph_1.cloudinfra.mx-out01.memory.Cached",
                    "coefficient": 0.97693,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "grph_1.cloudinfra.mx-out01.network.eth0.rx_byte",
                    "coefficient": 0.96005,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "grph_1.cloudinfra.mx-out01.network.eth0.tx_byte",
                    "coefficient": 0.9659,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "grph_1.cloudinfra.mx-out02.loadavg.05_normalized",
                    "coefficient": 0.98926,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "grph_1.cloudinfra.mx-out02.memory.MemFree",
                    "coefficient": 0.99998,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "metric": "prom_2.node_load15",
                    "coefficient": 1,
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                }
            ],
            "events": [
                {
                    "id": "7785",
                    "type": "anomaly",
                    "value": 18091.8,
                    "metric": "grph_1.cloudinfra.mx-out02.network.eth0.rx_byte",
                    "timestamp": 1588685340,
                    "timestamp_string": "May 5th 2020, 13:29",
                    "timestamp_string_time": "13:29",
                    "time_diff_minutes": 0
                },
                {
                    "id": "3468",
                    "type": "match",
                    "metric": "graphite-labs_wikimedia_org.clouddb-services.clouddb1001.cpu.total.user",
                    "timestamp": 1588685460,
                    "timestamp_string": "May 5th 2020, 13:31",
                    "timestamp_string_time": "13:31",
                    "time_diff_minutes": 2
                }
            ]
        }
    }
}

Live Request

URL: /anomaly/

You need to be logged in to your Anomify account to to make live API requests.

Please log in here or sign up to Anomify

Email
Password

Live request results will appear here.